package research.ui.perspectives;

import org.eclipse.ui.IFolderLayout;
import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;

import research.ui.views.ApplicationView;
import research.ui.views.ResultView;

public class Documents implements IPerspectiveFactory {
	
	public static final String ID = "research.ui.perspectives.Documents";

	public void createInitialLayout(IPageLayout layout) {
		
		layout.setFixed(true);
		IFolderLayout fold = layout.createFolder("documents", IPageLayout.LEFT, .3f, IPageLayout.ID_EDITOR_AREA);
		fold.addView(ApplicationView.ID);
		fold.addView(ResultView.ID);
		
		InitialLayoutHelper.addShortcuts(layout);
		
	}
}
